Five Issues with std::expected and How to Fix Them - Vitaly Fanaskov - NDC TechTown 2025

youtube
Five Issues with std::expected and How to Fix Them - Vitaly Fanaskov - NDC TechTown 2025 This talk was recorded at NDC TechTown in Kongsberg, Norway. #ndctechtown #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media! #cplusplus std::expected is a powerful abstraction for error handling and chaining computations introduced in the C++ 23 standard. Even though this abstraction is relatively new in the C++ ecosystem, it already has several issues, particularly when used as the primary error-handling mechanism in large code bases. This talk will focus on the most significant practical challenges faced when working with std::expected, providing insights into common pitfalls and offering potential solutions. While some of these challenges are addressed in separate libraries, others are not. Much of the functionality discussed in this talk is not available in the standard library. However, I’ll demonstrate real-world code samples and point to open-source helper utilities that address some of these gaps. This talk will be useful for software engineers looking to understand the limitations of std::expected, explore possible workarounds, and even contribute to the evolution of this abstraction by submitting proposals for future improvements. Preliminary outline 1. Briefly about std::expected 2. Issue #1: The same type of error and value are allowed 3. Issue #2: A can of worms: having monadic and regular interface altogether 4. Iss
  2026/01/02      youtube

Our Tag

最近投稿されたプログラミング学習動画

Grain DataLoaders Tutorial: The Ultimate Data Loader for JAX

Accelerators are getting faster, but is ...

  2026/01/16

How can I use the AWS CLI to make AssumeRole calls and store temporary

Amazon

For more details on this topic, visit th...

  2026/01/16

The brand new Bring Your Own Model feature on Android

android
android

model that works best for your needs and...

  2026/01/16

Keras Turns 10: A decade of deep learning

study
deep learning

Celebrate 10 years of Keras! 🎉 In this s...

  2026/01/16

Mo’s Story: Starting Families

Learn how Mo leveraged his personal expe...

  2026/01/16

Understanding JAX: JIT, XLA, and Pure Functions Explained

Are you exploring JAX for the first time...

  2026/01/15

How do I troubleshoot errors with API calls in Amazon ECS?

Amazon

For more details on this topic, visit th...

  2026/01/15

How to know if permissions are safe to request in your Chrome Extensio

chrome

Learn how Chrome handles permission upda...

  2026/01/14

NEW CSS Scroll Features are Game Changers

game

CSS Selector Cheat Sheet: []( Web Dev Ro...

  2026/01/14

Cloud Firestore CRUD Tutorial: Build a Swift Recipe App

cloud

Building a recipe app? Stop worrying abo...

  2026/01/14

Python FastAPI Tutorial (Part 5): Adding a Database - SQLAlchemy Model

python
sql

In this Python FastAPI tutorial, we'll b...

  2026/01/14

Performance Marketing Full Course For Beginners 2026[FREE]| Paid Marke

Marketing

🔥AI-Powered Digital Marketing Certificat...

  2026/01/13

5 Books to Make you Smarter in 2026 (No Self Help!)

For only $1, you can claim a 1GB Residen...

  2026/01/13

WithSecure builds AI cybersecurity assistant on AWS for threat mitigat

Amazon
Security

WithSecure transformed threat analysis b...

  2026/01/13

ML Engineer Roadmap 2026 🚀 | How to Become an ML Engineer

🔥PGP in Generative AI and ML in collabor...

  2026/01/13

🔥 What is GitHub Actions? Automate Your Workflow in 2026 | #shorts #si

github

Looking to streamline your development p...

  2026/01/13